<template>
  <div class="new-page" :style="`min-height: ${pageMinHeight}px`">
    <h1>{{$t('content')}}</h1>
  </div>
</template>

<script>
  import {mapState} from 'vuex'
  import {testIndex , getInspectList} from '@/services/test'
  export default {
    name: 'Demo',
    i18n: require('./i18n'),
    data() {
      return {
      }
    },
    computed: {
      ...mapState('setting', ['pageMinHeight']),
      desc() {
        return this.$t('description')
      }
    },
    mounted () {
    
       let query = {
        groupCode: "posp_trans_status",
      };
      
      testIndex({"current":1,"pageSize":10}).then((res)=>{
        console.log(res.data)
      }),
      getInspectList (query).then(res=>{
        console.log("=============getInspectList===============>")
        console.log(res.data)
      })
    }
  }
</script>

<style scoped lang="less">
@import "index";
</style>